package sv.edu.edutec.fotos.service;

import java.util.List;

import sv.edu.edutec.fotos.model.TblComment;
import sv.edu.edutec.fotos.model.TblPhoto;
import sv.edu.edutec.fotos.model.TblUser;

public interface PhotoService {
	public void addPhoto(TblPhoto photo);
	public void editPhoto(TblPhoto photo);
	public void deletePhoto(Integer photoId);
	public List<TblPhoto> listPhotos();
	public TblPhoto findPhoto(Integer photoId);

	// TblComment
	public void addComment(TblComment comment);
	public List<TblComment> listComments();
	public List<TblComment> listComments(String hql);
	
	//TblUser
	public List<TblUser> listUsers(String hql);
}
